package com.huawei.appgallery.wishwall.control;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import huawei.widget.HwSortedTextListAdapter;
import java.util.List;
import java.util.Map;

public abstract class AbsSortedListAdapter extends HwSortedTextListAdapter {
    protected BaseAdapter delegate;

    public AbsSortedListAdapter(Context context, List<? extends Map<String, ?>> list, String str, BaseAdapter baseAdapter) {
        super(context, 0, list, str);
        this.delegate = baseAdapter;
    }

    public int getCount() {
        return this.delegate.getCount();
    }

    public Object getItem(int i) {
        return this.delegate.getItem(i);
    }

    public long getItemId(int i) {
        return this.delegate.getItemId(i);
    }

    public int getItemViewType(int i) {
        return this.delegate.getItemViewType(i);
    }

    public int getViewTypeCount() {
        return this.delegate.getViewTypeCount();
    }

    public View getView(int i, View view, ViewGroup viewGroup) {
        return this.delegate.getView(i, view, viewGroup);
    }
}
